package cate.game.role.note.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBRole;

@ClientMsg(title = "主角笔记本の请求")
public class NoteReq implements MsgInput {

    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new NoteResp(cc.getRole()));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBRole.NOTE_REQ;
    }
}
